<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>${param.pageTitle }</title>
		<jsp:include page="../../../inc/js.jsp"></jsp:include>
		<jsp:include page="../../../inc/css.jsp"></jsp:include>
		<script type="text/javascript">
	function movePage(pageNo) {
		window.location = '?pageNo=' + pageNo + param();
	}
	function param() {
		var param = "";
		var cName = $("#cName").val();
		if (cName != null)
			param += "&cName=" + cName;
		return param;
	}
	$(document).ready(function() {
		$("#search").button().click(function() {
			movePage(1);
		});
	});
</script>
	</head>
	<body>
		<jsp:include page="../../../head.jsp"></jsp:include>
		<div class="container">
			<div class="header"></div>
			<div class="mainContent">
				<div class="content">
					<table cellpadding="0" cellspacing="1" class="list">
						<thead>
							<tr>
								<td colspan="5" class="search">
									<label>
										公司名称：
									</label>
									<input name="cName" id="cName" value="${param.cName }">
									<button id="search">
										查询
									</button>
								</td>
							</tr>
							<tr>
								<td>
									序号
								</td>
								<td>
									公司名称
								</td>
								<td>
									成立日期
								</td>
								<td>
									注册资金
								</td>
								<td>
									注册员工数
								</td>
							</tr>
						</thead>
						<tbody>
							<c:forEach var="e" items="${o.dataList}" varStatus="s">
								<tr>
									<th>
										${s.index+1 }
									</th>
									<td>
										<a href="showCompany.do?id=${e.id}" target="_blank">${e.cName}</a>
									</td>
									<td>
										${e.buildDate }
									</td>
									<td>
										${e.money }
									</td>
									<td>
										${e.employee }
									</td>
								</tr>
							</c:forEach>
						</tbody>
						<tfoot>
							<tr>
								<td colspan="5">
									${o.pageNav }
								</td>
							</tr>
						</tfoot>
					</table>
				</div>
				<div class="sidebar"><jsp:include page="../../../advRight.jsp"></jsp:include></div>
			</div>
			<div class="footer"><jsp:include page="../../../foot.jsp"></jsp:include></div>
		</div>
	</body>
</html>